Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Transforming Points and Vectors


Q3Point2D_Transform

You can use the Q3Point2D_Transform function to apply a transform to a two-dimensional point.

TQ3Point2D *Q3Point2D_Transform (
const TQ3Point2D *point2D, 
const TQ3Matrix3x3 *matrix3x3, 
TQ3Point2D *result);
point2D
A two-dimensional point.
matrix3x3
A 3-by-3 matrix.
result
On exit, the point that is the result of multiplying point2D by matrix3x3.
DESCRIPTION
The Q3Point2D_Transform function returns, as its function result and in the result parameter, the point that is the result of multiplying the point point2D by the matrix transform matrix3x3. Note that on entry the result parameter can be the same as the point2D parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996